<?php

require_once('resources/class/private/webos.php');

$webos = new webosClass();

$themeData = $webos -> get_theme_list();

while ($dr = mysql_fetch_array($themeData)) {
	
	$themeList .= '<add name="' . $dr['themeName'] . '" url="' . $dr['themeUrl'] . '" width="' . $dr['themeWidth'] . '" height="' . $dr['themeHeight'] . '" thumbnail="' . $dr['themeThum'] . '" explain="' . $dr['themeAddDate'] . '"></add>';
	
}

header("Content-type: text/xml");

?>
<xmlData>

	<ThemeList>

		<?php echo $themeList;?>

	</ThemeList>

</xmlData>